package com.phantasy.common.cursor
{
	import flash.display.Sprite;
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	
	public class CursorManager extends EventDispatcher
	{
		private static var instance:CursorManager;
		
		private var cursorLayer:Sprite;
		public function CursorManager()
		{
			
		}
		
		public static function init(layer:Sprite):void
		{
			getInstance().cursorLayer = layer;
		}
		
		public static function getInstance():CursorManager
		{
			if (instance == null)
			{
				instance = new CursorManager();
			}
			return instance;
		}
	}
}